<template>
	<view>
		<u-navbar title="添加成功" bgColor="#3083FB" titleStyle="color:#fff" left-icon-color="#fff" @leftClick="back"
			placeholder></u-navbar>
		<view class="bg"></view>
		<view class="main">
			<view class="content">
				<view class="pic">
					<u-icon name="checkmark" color="#fff" size="45"></u-icon>
				</view>
				<text>添加成功</text>
				<view class="back">
					<u-button type="primary" @click="back">返回</u-button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods:{
			back(){
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss">
	.bg {
		background-color: #3083FB;
		height: 200rpx;
		margin-top: -2px;
	}

	.main {
		padding: 20rpx;
		padding-top: 30rpx;
		margin-top: -190rpx;

		.content {
			background-color: #fff;
			border-radius: 18rpx;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			.pic{
				width: 150rpx;
				height: 150rpx;
				margin: 100rpx 0 30rpx;
				border-radius: 50%;
				background:linear-gradient(to right bottom, #64A0FF, #084DFF);
				display: flex;
				justify-content: center;
				align-items: center;
			}
			text{
				font-size: 38rpx;
			}
			.back{
				width: 100%;
				margin: 30rpx 0;
				box-sizing: border-box;
				padding: 20rpx 80rpx;
				/deep/ .u-button{
					background-color: #0C65E8;
					border-radius: 50rpx !important;
				}
			}
		}
	}
</style>